Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ordinal-based string aggregations #4350

Closed
jpountz opened this issue Dec 5, 2013 · 0 comments
Closed

Ordinal-based string aggregations #4350

jpountz opened this issue Dec 5, 2013 · 0 comments

Comments

@jpountz
Copy link
Contributor

jpountz commented Dec 5, 2013

String terms aggregations today work by accumulating counts into a hash table that stores the term values as keys (just like facets when provided map as an execution_hint).

Similarly to facets, we should also have an execution mode that allows to build the buckets based on string ordinals. This proved to be much faster than the map execution mode for facets, so hopefully it should help speed-up string terms aggregations as well.

@ghost ghost assigned jpountz Dec 5, 2013
jpountz added a commit to jpountz/elasticsearch that referenced this issue Dec 13, 2013
When the ValuesSource has ordinals, terms ordinals are used as a cache key to
bucket ordinals. This can make terms aggregations on String terms significantly
faster.

Close elastic#4350
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant